scala_library(
    sources = ["**/*.scala"],
    compiler_option_sets = ["fatal_warnings"],
    platform = "java8",
    provides = scala_artifact(
        org = "com.twitter.finatra",
        name = "inject-thrift-client-http-mapper",
        repo = artifactory,
    ),
    tags = ["bazel-compatible"],
    dependencies = [
        "3rdparty/jvm/com/google/inject:guice",
        "3rdparty/jvm/com/google/inject/extensions:guice-assistedinject",
        "3rdparty/jvm/javax/inject:javax.inject",
        "3rdparty/jvm/net/codingwell:scala-guice",
        "finagle/finagle-http/src/main/scala",
        "finatra/http-core/src/main/java/com/twitter/finatra/http",
        "finatra/http-core/src/main/java/com/twitter/finatra/http/jsonpatch",
        "finatra/http-core/src/main/java/com/twitter/finatra/http/request",
        "finatra/http-core/src/main/scala/com/twitter/finatra/http/contexts",
        "finatra/http-core/src/main/scala/com/twitter/finatra/http/exceptions",
        "finatra/http-core/src/main/scala/com/twitter/finatra/http/fileupload",
        "finatra/http-core/src/main/scala/com/twitter/finatra/http/jsonpatch",
        "finatra/http-core/src/main/scala/com/twitter/finatra/http/marshalling",
        "finatra/http-core/src/main/scala/com/twitter/finatra/http/request",
        "finatra/http-core/src/main/scala/com/twitter/finatra/http/response",
        "finatra/http-core/src/main/scala/com/twitter/finatra/http/streaming",
        "finatra/http-server/src/main/scala/com/twitter/finatra/http",
        "finatra/http-server/src/main/scala/com/twitter/finatra/http:controller",
        "finatra/http-server/src/main/scala/com/twitter/finatra/http/conversions",
        "finatra/http-server/src/main/scala/com/twitter/finatra/http/filters",
        "finatra/http-server/src/main/scala/com/twitter/finatra/http/modules",
        "finatra/http-server/src/main/scala/com/twitter/finatra/http/routing",
        "finatra/inject/inject-core/src/main/scala",
        "finatra/inject/inject-thrift-client/src/main/scala",
        "finatra/inject/inject-utils/src/main/scala",
        "scrooge/scrooge-core/src/main/scala",
    ],
    exports = [
        "3rdparty/jvm/com/google/inject/extensions:guice-assistedinject",
        "3rdparty/jvm/net/codingwell:scala-guice",
    ],
)
